package zobjpro;

public class ArrayUtilTest {
    public static void main(String[] args) {
        //测试工具类的方法是否正确

        int [] arr={1,2,3,4,5};
        String str=ArrayUtil.printArr(arr);
        System.out.println(str);

        double[] arr1={1.5,2.5,3.5,4.5};
        double avg = ArrayUtil.getAverage(arr1);
        System.out.println(avg);
    }
}
